home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat 1995 March
/
macformat-022.iso
/
Shareware City
/
Utilities
/
MacDOS™ 2.0.0ƒ
/
batches
/
listfile.bat
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
DOS Batch File
|
1994-11-23
|
256 b
|
12 lines
|
[
TEXT/mDOS
]
@echo off
! this is a simple example of the usage of OPEN/READ/CLOSE
! type LISTFILE aName to list the text file named 'aName'
! It is equivalent to the standard TYPE command
!
onerror DONE_LBL
open %1 id
repeat DONE_LBL
read %id%
:DONE_LBL
set id=